package imoocvideodev.dao;

import imoocvideodev.pojo.Comments;
import imoocvideodev.vo.CommentVO;

import java.util.List;

public interface CommentsMapper {
    int deleteByPrimaryKey(String id);

    int insert(Comments record);

    int insertSelective(Comments record);

    Comments selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Comments record);

    int updateByPrimaryKeyWithBLOBs(Comments record);

    int updateByPrimaryKey(Comments record);

    List<CommentVO> selectAllCommentsByVideoId(String videoId);
}